/*
 * Lenovo Group
 * Copyright (c) 2015-2016 All Rights Reserved.
 * Project Name: lmrp-android app
 * Create Time: 16-2-25 下午5:59
 */

package com.lenovo.mso2o.ui.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.lenovo.mso2o.R;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * Created by hejie5 on 2016/2/25.
 */
public class OrderViewHolder extends RecyclerView.ViewHolder {
    //        @Bind(R.id.repo_card)
//        CardView repo_card;
    @Bind(R.id.layout_item_order_list)
    LinearLayout layout_item;
    @Bind(R.id.text_orderListItem_top1)
    TextView topTV1;
    @Bind(R.id.text_orderListItem_top2)
    TextView topTV2;
    @Bind(R.id.image_orderListItem_top3)
    ImageView topTV3;
    @Bind(R.id.item_icon_overtime_already)
    ImageView iconOverTime;
    @Bind(R.id.item_icon_not_overtime)
    ImageView iconNotOver;

    @Bind(R.id.text_orderListItem_content1)
    TextView contentTV1;
    @Bind(R.id.layout_text_orderListItem_content1)
    LinearLayout layoutContentTV1;
    @Bind(R.id.text_orderListItem_content2)
    TextView contentTV2;
    @Bind(R.id.layout_text_orderListItem_content2)
    LinearLayout layoutContentTV2;
    @Bind(R.id.text_orderListItem_content2_2)
    TextView contentDistanceTV;
    @Bind(R.id.text_orderListItem_content3)
    TextView contentTV3;
    @Bind(R.id.layout_text_orderListItem_content3)
    LinearLayout layoutContentTV3;
    @Bind(R.id.layout_text_orderListItem_content5)
    LinearLayout layoutContentTV5;
    @Bind(R.id.text_orderListItem_content5)
    TextView contentTV5;
    @Bind(R.id.iv_order_history_evaluation_by_client)
    ImageView ivEvaluation;
    @Bind(R.id.relative_orderListItem_buttonMain)
    RelativeLayout contentRelative;
    @Bind(R.id.text_orderListItem_BtnText)
    TextView contentBtnTV;
    @Bind(R.id.layout_orderListItem_is_confirm)
    RelativeLayout layout_confirm;
    @Bind(R.id.iv_icon_orderListItem_Btn)
    ImageView contentBtnIV;
    @Bind(R.id.linear_orderListItem_bottom)
    LinearLayout bottomLinear;
    @Bind(R.id.text_orderListItem_bottom1)
    TextView bottom1;
    @Bind(R.id.text_orderListItem_bottom2)
    TextView bottom2;
    @Bind(R.id.loadingPb)
    ProgressBar progressBar;
    /*@Bind(R.id.text_orderListItem_hour)
    TextView hour_topTV;
    @Bind(R.id.text_orderListItem_status)
    TextView status_topTV;*/
    @Bind(R.id.text_orderListItem_statuss)
    TextView status_topTVs;
    @Bind(R.id.worksheet_left)
    LinearLayout layout_worksheet_left;
    @Bind(R.id.back_layout)
    LinearLayout layout_back_layout;
    @Bind(R.id.back_cancle)
    RelativeLayout layout_back_cancle;
    @Bind(R.id.back_receive)
    RelativeLayout layout_back_receive;
    @Bind(R.id.relative_orderListItem_grab_order)
    RelativeLayout layout_grab_order;
    @Bind(R.id.item_icon_time_with_gray)
    ImageView iconTimeGray;

    @Bind(R.id.loadingPbGrab)
    ProgressBar grab_orderPb;
    @Bind(R.id.text_orderListItem_grab_order)
    TextView grab_orderTV;
    @Bind(R.id.relative_orderListItem_grab_time)
    RelativeLayout layout_grab_time;
    @Bind(R.id.text_orderListItem_grab_time)
    TextView grab_timeTV;
    /*@Bind(R.id.relative_orderListItem_hour)
    RelativeLayout item_hourTV;
    @Bind(R.id.relative_orderListItem_status)
    RelativeLayout item_statusTV;*/
    @Bind(R.id.loadingPbReceive)
    ProgressBar make_orderPb;
    @Bind(R.id.make_order)
    TextView make_orderTV;
    @Bind(R.id.back_order)
    TextView back_orderTV;


    public OrderViewHolder(View itemView) {
        super(itemView);
        ButterKnife.bind(this, itemView);
    }
}
